/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-05-15 16:20:23
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    // 见证取样--列表
    table_config: {
        // 列表配置项
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [
            {
                label: "报验单编号",
                prop: "fInspectionnostr",
                minWidth: "180px",
                align: "left",
                Jump: true,
            },
            {
                label: "项目简称",
                prop: "fProjectname",
                minWidth: "150px",
                align: "left",
            },
            {
                label: "标段",
                prop: "fCompanyname",
                minWidth: "65px",
                align: "left",
            },
            {
                label: "取样编号",
                prop: "fSamplenostr",
                minWidth: "140px",
                align: "left",
            },
            {
                label: "样品名称",
                prop: "fSamplename",
                minWidth: "130px",
                align: "left",
            },
            {
                label: "样品编号",
                prop: "fSampleassignnostr",
                minWidth: "170px",
                align: "left",
                Jump: true,
            },
            {
                label: "试验名称",
                prop: "fSamplereportname",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "报告编号",
                prop: "fSamplereportnostr",
                minWidth: "170px",
                align: "left",
                Jump: true,
            },
            {
                label: "工程部位/用途",
                prop: "fProjectlocation",
                minWidth: "180px",
                align: "left",
            },
            {
                label: "报告判定",
                prop: "fReportresult",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "报告日期",
                prop: "fReportdates",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "技术负责人",
                prop: "fDirectorusername",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "报验日期",
                prop: "fInspectiondates",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "监理抽检",
                prop: "fReportjlstatus",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "抽检报告编号",
                prop: "fSamplejlreportnostr",
                minWidth: "180px",
                align: "left",
                Jump: true,
            },
            {
                label: "抽检报告判定",
                prop: "fReportjlresult",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "专业监理工程师",
                prop: "fJlusername",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "审核日期",
                prop: "fJladuitdates",
                minWidth: "100px",
                align: "center",
            },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '报验状态',
            width: '80',
            detail: true,
            prop: true,
            cols: [],

        },
    },
    // 按钮
    btnObj: [
        {
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },
        {
            fEncode: "yj_export",
            fFullname: "打印",
            fOrder: 1
        },
    ],
    // 模糊查询
    searchObj: [
        {
            datePickerIsRange: true, //是input
            label: ".", //字段
            prop: "timeDates", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "查询时间段",

        },
        {
            selectsTree: true, //是input
            label: ".", //字段
            prop: "keyType", //字段名
            width: 4, //参考el-col
            disabled: false, //是否禁用
            placeholder: "检测类型",
            tree: {
                treeData: [],
                checkData: [],
                id: 'fSampletype',
                defaultProps: {
                    children: "children",
                    label: "fSampletypename",
                },
            },
        },
        {
            input: true, //是input
            label: ".", //字段
            prop: "keyWord", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "试验名称、报告编号、工程部位/用途",

        },
        {
            input: true, //是input
            label: ".", //字段
            prop: "fSamplenostr", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "取样编号",

        },
        {
            btn: true, //是input
            label: ".", //字段
            prop: "", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            // placeholder: "规格型号",

        },

    ],
}